applicationwindow: Don't pass for_size < -1 to measure()
authorTimm Bäder <mail@baedert.org>
Mon, 27 Dec 2021 09:00:30 +0000 (10:00 +0100)
committerTimm Bäder <mail@baedert.org>
Mon, 27 Dec 2021 11:15:02 +0000 (12:15 +0100)
commite94d5bf006e527919931d064900eaaa0dc907b9c
tree90f83c64e452021dea6476a19318dc3d12a253d8
parenta00480f4a1eb790f5a2bfcf99541ebff12b75538
applicationwindow: Don't pass for_size < -1 to measure()

If the application window is measured with for_size -1 horizontally,
this code clearly passes something lower to the parent class measure()
implementation. Only subtract the menubar_height if we're passed a
for_size > -1.
gtk/gtkapplicationwindow.c